package com.hoopchina.meta;

import java.util.ArrayList;
import java.util.List;

/**
 * 新闻详情数据封装类
 * @author Guo Baiyu
 *
 */
public class NewsItemDetail  {

    private String mTitle;
    private List<Content> mContent = new ArrayList<Content>();
    private String mImgUrl;
    private String mLogoimg;
    private String mSource;
    private String mTime;
    private String mUrl;
   public void addSubContent(String index ,String type ,String subcontent)
   {
	   mContent.add(new Content( index , type , subcontent));
   }
   
   
   public class Content   {
        String mIndex;
        String mType;
        String mSubContent;
        
        public Content(String index ,String type ,String subcontent)
        {
        	mIndex = index;
        	mType =  type;
        	mSubContent = subcontent;
        }
        /**
         * @return the mTitle
         */
        public String getIndex() {
            return mIndex;
        }

        /**
         * @param title the mTitle to set
         */
        public void setIndex( String aIndex ) {
        	mIndex = aIndex;
        }
        /**
         * @return the mTitle
         */
        public String getType() {
            return mType;
        }

        /**
         * @param title the mTitle to set
         */
        public void setType( String aType ) {
        	mType = aType;
        }  

       public String getSubContent() {
           return mSubContent;
       }

       /**
        * @param title the mTitle to set
        */
       public void setSubContent( String aSubContent ) {
    	   mSubContent = aSubContent;
       }
    }
    
   
   /**
    * @return the mContent
    */
   public List<Content> getContent() {
       return mContent;
   }

    /**
     * @return the mTitle
     */
    public String getTitle() {
        return mTitle;
    }

    /**
     * @param title the mTitle to set
     */
    public void setTitle( String title ) {
        mTitle = title;
    }


    /**
     * @return the mImgUrl
     */
    public String getImgUrl() {
        return mImgUrl;
    }

    /**
     * @param imgUrl the mImgUrl to set
     */
    public void setImgUrl( String imgUrl ) {
        mImgUrl = imgUrl;
    }

    /**
     * @return the mLogoimg
     */
    public String getLogoimg() {
        return mLogoimg;
    }

    /**
     * @param logoimg the mLogoimg to set
     */
    public void setLogoimg( String logoimg ) {
        mLogoimg = logoimg;
    }
    public String getUrl() {
        return mUrl;
    }
    /**
     * @param logoimg the mLogoimg to set
     */
    public void setUrl( String url ) {
    	mUrl = url;
    }

    /**
     * @return the mSource
     */
    public String getSource() {
        return mSource;
    }

    /**
     * @param source the source to set
     */
    public void setSource( String source ) {
        mSource = source;
    }

    /**
     * @return the mTime
     */
    public String getTime() {
        return mTime;
    }

    /**
     * @param time the mTime to set
     */
    public void setTime( String time ) {
        mTime = time;
    }

}
